<?php include 'header.php'; ?>

<!-- members box -->
<div id="member_box" style="text-align:left;">
	<div><h3>教师：</h3>
		<?php
		foreach ($this->teacher as $d) {
			echo "<a href='javascript:pick_member(".
				"{$d['AId']}, \"{$d['Name']}\");'>{$d['Name']}</a>\n";
		}
		?>
		<div class="clear"></div>
	</div>

	<div><h3>在读博士：</h3>
		<?php
		foreach ($this->phd as $d) {
			echo "<a href='javascript:pick_member(".
				"{$d['AId']}, \"{$d['Name']}\");'>{$d['Name']}</a>\n";
		}
		?>
		<div class="clear"></div>
	</div>
	<div><h3>在读硕士：</h3>
		<?php
		foreach ($this->master as $d) {
			echo "<a href='javascript:pick_member(".
				"{$d['AId']}, \"{$d['Name']}\");'>{$d['Name']}</a>\n";
		}
		?>
		<div class="clear"></div>
	</div>

	<div class="clear"></div>
</div> <!-- end of members box -->

<!-- form of add paper -->
<h1>增加文论</h1>
<form action="/paper/insert" method="post" id="paper_form"
		 enctype="multipart/form-data">
<div class="info_title" id="paper_div"
	style="padding-top:20px;text-align:left;">
<table border="0" cellspacing="5" cellpadding="0">
	<tr><td valign="top"><b>论文题目*:</b></td>
		<td>《<input type="text" name="Title" id="paper_title"
			value="" style="width:450px;" />》
			<p id="title_msg"></p>
		</td>
	</tr>
	<tr><td valign="top"><b>作　　者*:</b></td>
		<td>　<input type="text" name="Author" id="paper_author"
			value="<?= auth::name(); ?>(id=<?= auth::aid(); ?>)、"
			style="width:450px;" />
			<p>　按顺序写，用中文、号或英文;号分隔。
			本实验室的人请从框里选择。</p>
		</td>
	</tr>
	<tr><td><b>发表刊物*:</b></td>
		<td>　<input type="text" name="Journal" 
			value="" style="width:450px;" /></td>
	</tr>
	<tr><td><b>发表日期*:</b></td>
		<td>　<input type="text" name="Date" 
			value="" style="width:150px;" />
			格式：YYYY-MM
		</td>
	</tr>
	<tr><td valign="top">检　　索:</td>
		<td>　<input type="text" name="Search"
				style="width:450px;" /></td>
	</tr>
	<tr><td></td>
		<td>　例如： SCI检索号：701UK；EI检索号：03277527481</td>
	</tr>
	<tr><td>关 键 词:</td>
		<td>　<input type="text" name="Keyword" 
			value="" style="width:450px;" /></td>
	</tr>
	<tr><td>基金项目:</td>
		<td>　<input type="text" name="Foundation" 
			value="" style="width:450px;" /></td>
	</tr>
	<tr><td valign="top">上传文章:
			<input type="hidden" name="MAX_FILE_SIZE" value="2100000" />
		</td>
		<td>　<input type="file" name="file" />
			<br />　文件大小在2M以内。
		</td>
	</tr>
	<tr><td>&nbsp;</td>
		<td><input type="submit" value="保存" />
			&nbsp; &nbsp; <input type="reset" value="清空重填" />
		</td>
	</tr>
</table>
</div>
</form> <!-- end of form -->
<?php include 'footer.php'; ?>
